function *gene(){
    console.log('first');
    yield console.log('first yield');
    console.log("second")
    yield console.log('second yield');
    console.log('finished');
}
let iterator = gene();
// let obj = iterator.next();
// console.log(obj["done"]);

iterator.next();
iterator.next();
iterator.next();



